package com.framework.service.core.service;

import com.framework.core.api.request.ThirdUserInfoReq;
import com.framework.core.api.response.ThirdUserInfoQueryRes;
import com.framework.core.api.response.ThirdUserInfoRes;
import com.framework.service.core.dao.model.ThirdUserInfo;

/**
 * 第三方用户接口
 * @author zhoubb
 * @version V1.0
 * @Date 2020/4/13 23:47
 * @since JDK 1.8
 */
public interface IThirdUserInfoService {

    /**
     * 新增第三方用户
     * @param thirdUserInfoReq
     * @return
     */
    ThirdUserInfoRes insertThirdUserInfo(ThirdUserInfoReq thirdUserInfoReq);

    /**
     * 查询或者注册微信用户信息
     * @param thirdUserInfoReq
     * @return
     */
    ThirdUserInfoQueryRes getOrRrgisterWxUserInfo(ThirdUserInfoReq thirdUserInfoReq);

    /**
     * 查询第三方用户信息
     * @param thirdUserInfoReq
     * @return
     */
    ThirdUserInfoQueryRes getThirdUserInfo(ThirdUserInfoReq thirdUserInfoReq);


//    /**
//     * 注册微信第三方用户信息
//     * @param thirdUserInfoReq
//     * @return
//     */
//    ThirdUserInfoQueryRes registerWxUserInfo(ThirdUserInfoReq thirdUserInfoReq);
}
